<div class="mg-b-15">
	<div class="uiHeaderBottomBorder">
		<h4 class="mg-b-5"><?=Yii::t('adv', 'quiz_keyword')?></h4>
	</div>
	<div class="ui-box-gray pa-20">
		<div class="able">
			<div class="input checkbox">
			<?php echo $form->checkBox($model,'quiz_able',array('id'=>'AdReviewQuizAble'));?>
	   		<?php echo $model->getAttributeLabel('quiz_able');?>
	   		<?php echo $form->error($model,'quiz_able');?>
			</div>
			<p class="pa-10 desc mg-b-10"><?=Yii::t('adv', 'quiz_explain')?></p>
			<div class="over-hidden uiBoxWhite pa-10 target mg-b-10" style="display: block;">
				<div class="hasLimit" style="width:510px;">
					<div class="clearfix">
						<h4 class="float-left"><?=Yii::t('adv', 'quiz_content')?></h4>
						<span class="charCounter float-right">50</span>
					</div>
					<div class="input text">
						<?php echo $form->textField($model,'quiz',array('id'=>'AdReviewQuiz','class'=>'quiz','maxlength'=>'50'));?>
						<?php echo $form->error($model,'quiz'); ?>
					</div>
				</div>
				<h4><?=Yii::t('adv', 'quiz_answers')?></h4>
				<div class="answers over-hidden">
					<?php $count=count($model->answer);
					for($i=0;$i<$count;$i++) {
						echo $form->textField($model,"answer[$i]",array('class'=>'answer float-left empty'));
					}?>
					<?php echo $form->textField($model,"answer[$count]",array('class'=>'answer empty float-left last'));?>
					<?php echo $form->error($model,'answer'); ?>
				</div>
			</div>
		</div>
		<div class="able">
			<div class="input checkbox">
			<?php echo $form->checkBox($model,'keyword_able',array('id'=>'AdReviewKeywordAble'));?>
	   		<?php echo $model->getAttributeLabel('keyword_able');?>
	   		<?php echo $form->error($model,'keyword_able');?>
			</div>
			<p class="pa-10 desc"><?=Yii::t('adv', 'keyword_explain')?></p>
			<div class="over-hidden uiBoxWhite pa-10 target" style="display: block;">
				<h4><?=Yii::t('adv', 'keyword')?></h4>
				<div class="keywords overhidden">
					<?php echo $form->textField($model,'keyword[0]',array('class'=>'float-left keyword'));?>
					<?php echo $form->textField($model,'keyword[1]',array('class'=>'float-left keyword'));?>
					<?php echo $form->error($model,'keyword'); ?>
				</div>
				<p class="desc"><?=Yii::t('adv','keyword_size')?></p>
			</div>
		</div>
	</div>
</div>